package org.brisling.workflow.domain;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 
 * <p>Title: VOFlowDomain</p>
 * <p>Description: 流程业务通用视图层实体类</p>
 * <p>Company: tongking</p> 
 * @author jackson wang
 * @since  1.0
 * @version 1.0
 * @date 2016年8月15日 下午10:47:13
 */
public class VOFlowDomain {

	/*
	 * 业务单据id
	 */
	private Long id;
	
	/*
	 * 业务事项
	 */
	private String biz_name;
	
	/*
	 *事项内容 
	 */
	private String apply_content;
	
	/*
	 * 申请人
	 */
	private String apply_name;
	private Long apply_id;
	/*
	 * 申请科室
	 */
	private String apply_deptname;
	private Long apply_deptid;
	 /*
	  * 流程实例id
	  */
     private Long proc_inst_id;
     
     /*
      * 业务资源编码
      */
     private String bizcode;
     /*
      * 流程实例业务完整编码
      */
     private String business_key;
     
     /*
      * 流程文件定义id
      */
     private String proc_def_id;
     
     /*
      * 任务节点id
      */
     private Long task_id;
     /*
      * 流程节点名称
      */
     private String nodename;
     
     /*
      * 流程节点定义代码
      */
     private String task_def_key;
     
     /*
      * 流程节点创建时间
      */
     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
 	 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
     private Date create_time;
     
     /*
      * 流程分派人员id
      */
     private Long assignee;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	

	public String getBiz_name() {
		return biz_name;
	}

	public void setBiz_name(String biz_name) {
		this.biz_name = biz_name;
	}

	public String getApply_content() {
		return apply_content;
	}

	public void setApply_content(String apply_content) {
		this.apply_content = apply_content;
	}

	public Long getProc_inst_id() {
		return proc_inst_id;
	}

	public void setProc_inst_id(Long proc_inst_id) {
		this.proc_inst_id = proc_inst_id;
	}

	public String getBusiness_key() {
		return business_key;
	}

	public void setBusiness_key(String business_key) {
		this.business_key = business_key;
	}

	public String getProc_def_id() {
		return proc_def_id;
	}

	public void setProc_def_id(String proc_def_id) {
		this.proc_def_id = proc_def_id;
	}

	public Long getTask_id() {
		return task_id;
	}

	public void setTask_id(Long task_id) {
		this.task_id = task_id;
	}

	public String getNodename() {
		return nodename;
	}

	public void setNodename(String nodename) {
		this.nodename = nodename;
	}

	public String getTask_def_key() {
		return task_def_key;
	}

	public void setTask_def_key(String task_def_key) {
		this.task_def_key = task_def_key;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Long getAssignee() {
		return assignee;
	}

	public void setAssignee(Long assignee) {
		this.assignee = assignee;
	}

	public String getApply_name() {
		return apply_name;
	}

	public void setApply_name(String apply_name) {
		this.apply_name = apply_name;
	}

	public Long getApply_id() {
		return apply_id;
	}

	public void setApply_id(Long apply_id) {
		this.apply_id = apply_id;
	}

	public String getApply_deptname() {
		return apply_deptname;
	}

	public void setApply_deptname(String apply_deptname) {
		this.apply_deptname = apply_deptname;
	}

	public Long getApply_deptid() {
		return apply_deptid;
	}

	public void setApply_deptid(Long apply_deptid) {
		this.apply_deptid = apply_deptid;
	}

	public String getBizcode() {
		return bizcode;
	}

	public void setBizcode(String bizcode) {
		this.bizcode = bizcode;
	}
    
}
